.class Lrexsee/core/browser/RexseePrompt$34;
.super Ljava/lang/Object;
.source "RexseePrompt.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/RexseePrompt;->showColor(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/browser/RexseePrompt;

.field private final synthetic val$hexValue:Landroid/widget/TextView;

.field private final synthetic val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

.field private final synthetic val$rgbValue:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/TextView;Landroid/widget/TextView;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/RexseePrompt$34;->this$0:Lrexsee/core/browser/RexseePrompt;

    iput-object p2, p0, Lrexsee/core/browser/RexseePrompt$34;->val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    iput-object p3, p0, Lrexsee/core/browser/RexseePrompt$34;->val$hexValue:Landroid/widget/TextView;

    iput-object p4, p0, Lrexsee/core/browser/RexseePrompt$34;->val$rgbValue:Landroid/widget/TextView;

    .line 682
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .param p1, "dialog"    # Landroid/content/DialogInterface;
    .param p2, "which"    # I

    .prologue
    .line 685
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 686
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt$34;->val$returnListener:Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "{\"hex\":\""

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt$34;->val$hexValue:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\",\"rgb\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt$34;->val$rgbValue:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\"}"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;->run(Ljava/lang/String;)V

    .line 687
    return-void
.end method
